import config from "../../../config/config";
import * as request from '../../../utils/request';

export function getUserPage(params) {
    return request.get(`${config.api.home.getUserPage}`, params, false);
}

export function addUser(params) {
    return request.post(`${config.api.home.addSystemUser}`, params, false);
}

export function deleteUser(params) {
    return request.post(`${config.api.home.deleteSystemUser}`, params, false);
}

export function updateUser(params) {
    return request.post(`${config.api.home.updateSystemUser}`, params, false);
}
